
<div class="headline">
    <h2>
        <?php echo $this->translate('Exams');?>
    </h2>
    <div class="tabs">
        <?php
        // Render the menu
        echo $this->navigation()
        ->menu()
        ->setContainer($this->navigation)
        ->render();
        ?>
    </div>
</div>
<div class="headline">
    
    <div class="tabs">
        <?php
        // Render the menu
        echo $this->navigation()
        ->menu()
        ->setContainer($this->subnavigation)
        ->render();
        ?>
    </div>
</div>
<div class="admin_table_form">
    <table class="admin_table">
    	<thead>
    		<tr>
    			<th> <?php echo $this->translate('image')?> </th>
                <th> <?php echo $this->translate('title')?> </th>
                <th> <?php echo $this->translate('max score')?> </th>
                <th> <?php echo $this->translate('min score')?> </th>
                <th> <?php echo $this->translate('total test')?> </th>
                <th> <?php echo $this->translate('recent test')?> </th>
                <th> <?php echo $this->translate('action')?> </th>
    		</tr>
    	</thead>
    	<tbody>
            <?php foreach($this->paginator as $item):?>
    		<tr>
    			<td><?php echo $this->itemPhoto($item,"thumb_icon"); ?></td>
                <td><?php echo $item->title ?></td>
                <td><?php echo $item->max_score ?></td>
                <td><?php echo $item->min_score ?></td>
                <td><?php echo $item->total_test ?></td>	
                <td><?php echo $item->recent_date ?></td>
                <td>
                    <a href="<?php echo $this->url(array('action'=>'review','exam_id'=>$item->exam_id),'exam_test') ?>" class="smoothbox item_link" >detail</a>
                </td>
    		</tr>
            <?php endforeach;?>
    	</tbody>
    </table>
</div>